var server = require("./server/server");
var router = require("./server/router");
var handlers = require("./server/handler");

var handle = {}
handle["/"] = handlers.toLogin;
handle["/toLogin"] = handlers.toLogin;
handle["/toRegist"] = handlers.toRegist;
handle["/doLogin"] = handlers.doLogin;
handle["/doRegist"] = handlers.doRegist;
handle["/doShowData"] = handlers.doShowData;
handle["static"] = handlers.static;

server.start(router.route, handle);
